<%@ Page Language="c#" Codebehind="importDocumenttype.aspx.cs" AutoEventWireup="false"
  Inherits="umbraco.presentation.umbraco.dialogs.importDocumentType" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>umbraco -
    <%=umbraco.ui.Text("importDocumenttype")%>
  </title>
  <link href="../css/umbracoGui.css" type="text/css" rel="stylesheet">
  <style>BODY { MARGIN: 2px }
	</style>

  <script type="text/javascript" src="../js/xmlextras.js"></script>

  <script type="text/javascript" src="../js/xmlRequest.js"></script>

  <script language="javascript">
  </script>

</head>
<body>
  <form id="Form1" method="post" runat="server">
    <input id="tempFile" type="hidden" name="tempFile" runat="server">

    <asp:Literal ID="FeedBackMessage" runat="server" />

    <table class="propertyPane" id="Table1" cellspacing="0" cellpadding="4" width="98%"  border="0" runat="server">
      <tr>
        <td class="propertyContent" colspan="2">
          <asp:Panel ID="Wizard" runat="server" Visible="True">
            <p>
            <span class="guiDialogNormal">
              <%=umbraco.ui.Text("importDocumentTypeHelp")%>
            </span>
            </p>
            
            <p>
            <input id="documentTypeFile" type="file" runat="server">
            </p>
            
            
            <asp:Button ID="submit" runat="server"></asp:Button> <em><%= umbraco.ui.Text("or") %></em> <a href="#" onclick="top.closeModal(); return false;"><%= umbraco.ui.Text("cancel") %></a>
          </asp:Panel>
          
          
          <asp:Panel ID="Confirm" runat="server" Visible="False">
            <strong>
              <%=umbraco.ui.Text("name")%>
              :</strong>
            <asp:Literal ID="dtName" runat="server"></asp:Literal>
            <br />
            <strong>
              <%=umbraco.ui.Text("alias")%>
              :</strong>
            <asp:Literal ID="dtAlias" runat="server"></asp:Literal>
            <br />
            <br />
            <asp:Button ID="import" runat="server"></asp:Button>
          </asp:Panel>
          <asp:Panel ID="done" runat="server" Visible="False">
            <asp:Literal ID="dtNameConfirm" runat="server"></asp:Literal>
            has been imported!
          </asp:Panel>
        </td>
      </tr>
    </table>
  </form>
</body>
</html>
